home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 March / PCWMAR09.iso / Software / Freeware / Adobe Media Player 1.6 / adobe_media_player.air / AMP.swf / scripts / _FormItemStyle.as < prev    next >
Encoding:
Text File  |  2008-11-25  |  1.1 KB  |  36 lines

  1. package
  2. {
  3.    import mx.core.IFlexModuleFactory;
  4.    import mx.styles.CSSStyleDeclaration;
  5.    import mx.styles.StyleManager;
  6.    
  7.    public class _FormItemStyle
  8.    {
  9.       private static var _embed_css_Assets_swf_mx_containers_FormItem_Required_29678095:Class = _FormItemStyle__embed_css_Assets_swf_mx_containers_FormItem_Required_29678095;
  10.       
  11.       public function _FormItemStyle()
  12.       {
  13.          super();
  14.       }
  15.       
  16.       public static function init(param1:IFlexModuleFactory) : void
  17.       {
  18.          var fbs:IFlexModuleFactory = param1;
  19.          var style:CSSStyleDeclaration = StyleManager.getStyleDeclaration("FormItem");
  20.          if(!style)
  21.          {
  22.             style = new CSSStyleDeclaration();
  23.             StyleManager.setStyleDeclaration("FormItem",style,false);
  24.          }
  25.          if(style.defaultFactory == null)
  26.          {
  27.             style.defaultFactory = function():void
  28.             {
  29.                this.indicatorSkin = _embed_css_Assets_swf_mx_containers_FormItem_Required_29678095;
  30.             };
  31.          }
  32.       }
  33.    }
  34. }
  35.  
  36.